package com.iyundao.io.mapper;

import com.iyundao.io.model.WishSubmitDetail;

import static org.apache.ibatis.jdbc.SqlBuilder.*;

public class WishSubmitDetailSqlProvider {

    public String insertSelective(WishSubmitDetail record) {
        BEGIN();
        INSERT_INTO("wishsubmitdetail");
        
        if (record.getId() != null) {
            VALUES("id", "#{id,jdbcType=INTEGER}");
        }
        
        if (record.getSubmitid() != null) {
            VALUES("submitid", "#{submitid,jdbcType=INTEGER}");
        }
        
        if (record.getGiftid() != null) {
            VALUES("giftid", "#{giftid,jdbcType=INTEGER}");
        }
        
        return SQL();
    }
}